package com.wep.fence.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author wep
 * @version 1.0
 * @description:
 * @date 2025/4/27 15:54
 */
@Data
public class RegionQuery {
    @Schema(description = "区域编码列表")
    private List<String> codes;

    @Schema(description = "父级编码列表")
    private List<String> pcodes;

    @Schema(description = "区域级别:0-全国;1-省份;2-城市;3区县;4-乡镇;5-村")
    private Integer type;

    @Schema(description = "区域名称,支持模糊查询")
    private String name;

    @Schema(description = "区域编码前缀", example = "34")
    private String codePrefix;
}
